package com.accp.demo.pojo.finance;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.accp.demo.pojo.base.Department;


public class Advance {
	private String customNo;	//varchar(16)	not null, 	#客户	
	private String advanceNo;	//varchar(16)	primary key, 	#单据号码	
	private String advanceDate;	//date,	#单据日期
	private String cachStyleID;	//int	,	#结算方式一	
	private Double cashPrice;	//decimal(9,2),	#结算方式一的金额
	private String visaStylyID;	//int	,	#结算方式二
	private Double visaPrice;	//decimal(9,2),	#结算方式二金额
	private String otherPayStyleID;	//int	,	#结算方式三
	private Double otherPayPrice;	//decimal(9,2),	#结算方式三金额
	private String currencyName;	//varchar(16),	#币别
	private String rate;		//varchar(16),	#汇率
	private String vocherNo;	//varchar(50),	#凭证编号
	private Department dept;		//varchar(16),	#所属部门
	private String makerSign;	//varchar(50),	#制单人员
	private String projectFrom;	//varchar(50),	#所属项目
	private String permitterSign;	//varchar(50),	#复核人员
	private Date createTime;	//TIMESTAMP default CURRENT_TIMESTAMP,	#创建时间
	private Integer autidStatus;	//int 	default 0,	#审核状态
	private Integer logicStatus;	//int	default 1	#逻辑状态
	List<AdvanceDetail> advanceDetail = new ArrayList<AdvanceDetail>();
	public String getCustomNo() {
		return customNo;
	}

	public void setCustomNo(String customNo) {
		this.customNo = customNo;
	}

	public String getAdvanceNo() {
		return advanceNo;
	}

	public void setAdvanceNo(String advanceNo) {
		this.advanceNo = advanceNo;
	}

	public String getAdvanceDate() {
		return advanceDate;
	}

	public void setAdvanceDate(String advanceDate) {
		this.advanceDate = advanceDate;
	}

	public String getCachStyleID() {
		return cachStyleID;
	}

	public void setCachStyleID(String cachStyleID) {
		this.cachStyleID = cachStyleID;
	}

	public Double getCashPrice() {
		return cashPrice;
	}

	public void setCashPrice(Double cashPrice) {
		this.cashPrice = cashPrice;
	}

	public String getVisaStylyID() {
		return visaStylyID;
	}

	public void setVisaStylyID(String visaStylyID) {
		this.visaStylyID = visaStylyID;
	}

	public Double getVisaPrice() {
		return visaPrice;
	}

	public void setVisaPrice(Double visaPrice) {
		this.visaPrice = visaPrice;
	}

	public String getOtherPayStyleID() {
		return otherPayStyleID;
	}

	public void setOtherPayStyleID(String otherPayStyleID) {
		this.otherPayStyleID = otherPayStyleID;
	}

	public Double getOtherPayPrice() {
		return otherPayPrice;
	}

	public void setOtherPayPrice(Double otherPayPrice) {
		this.otherPayPrice = otherPayPrice;
	}

	public String getCurrencyName() {
		return currencyName;
	}

	public void setCurrencyName(String currencyName) {
		this.currencyName = currencyName;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

	public String getVocherNo() {
		return vocherNo;
	}

	public void setVocherNo(String vocherNo) {
		this.vocherNo = vocherNo;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public String getMakerSign() {
		return makerSign;
	}

	public void setMakerSign(String makerSign) {
		this.makerSign = makerSign;
	}

	public String getProjectFrom() {
		return projectFrom;
	}

	public void setProjectFrom(String projectFrom) {
		this.projectFrom = projectFrom;
	}

	public String getPermitterSign() {
		return permitterSign;
	}

	public void setPermitterSign(String permitterSign) {
		this.permitterSign = permitterSign;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getAutidStatus() {
		return autidStatus;
	}

	public void setAutidStatus(Integer autidStatus) {
		this.autidStatus = autidStatus;
	}

	public Integer getLogicStatus() {
		return logicStatus;
	}

	public void setLogicStatus(Integer logicStatus) {
		this.logicStatus = logicStatus;
	}

	public List<AdvanceDetail> getAdvanceDetail() {
		return advanceDetail;
	}

	public void setAdvanceDetail(List<AdvanceDetail> advanceDetail) {
		this.advanceDetail = advanceDetail;
	}

	@Override
	public String toString() {
		return "Advance [customNo=" + customNo + ", advanceNo=" + advanceNo + ", advanceDate=" + advanceDate
				+ ", cachStyleID=" + cachStyleID + ", cashPrice=" + cashPrice + ", visaStylyID=" + visaStylyID
				+ ", visaPrice=" + visaPrice + ", otherPayStyleID=" + otherPayStyleID + ", otherPayPrice="
				+ otherPayPrice + ", currencyName=" + currencyName + ", rate=" + rate + ", vocherNo=" + vocherNo
				+ ", dept=" + dept + ", makerSign=" + makerSign + ", projectFrom=" + projectFrom + ", permitterSign="
				+ permitterSign + ", createTime=" + createTime + ", autidStatus=" + autidStatus + ", logicStatus="
				+ logicStatus + ", advanceDetail=" + advanceDetail + "]";
	}
	
}
